package com.jcoinexchange.web.auth;

import com.jcoinexchange.web.entity.ResponseCode;

public enum ErrorCode implements ResponseCode {
    ERROR_NOT_AUTHED(-20, "用户未登录"),
    ;

    private final  int code;
    private final String message;

    ErrorCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
    public int getCode() {
        return code;
    }

    public String getMsg() {
        return message;
    }
}
